Socket
Socket
Sign inDemoInstall

minipass-collect

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minipass-collect

A Minipass stream that collects all the data into a single chunk


Version published
Weekly downloads
15M
decreased by-0.55%
Maintainers
1
Weekly downloads
 
Created

What is minipass-collect?

The minipass-collect package is a Node.js stream utility that collects all the data from a stream and then emits a 'collect' event with the collected data. It is built on top of the Minipass stream library, which is a minimal pass-through stream implementation.

What are minipass-collect's main functionalities?

Data collection from streams

This feature allows you to collect all the data from a stream. When the stream ends, the 'collect' event is emitted with the collected data as its argument.

const Collect = require('minipass-collect')
const collectStream = new Collect()
collectStream.on('collect', data => {
  console.log('Collected data:', data)
})
collectStream.write('some data')
collectStream.end()

Other packages similar to minipass-collect

FAQs

Package last updated on 30 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc